package com.fubowen.reader.db.model

import android.view.MenuItem

data class OptionsMenuItem(
    var group: Int = 0,
    var id: Int = 0,
    var order: Int = 0,
    var title: String,
    var onClick: () -> Unit
) {
    fun isSame(menuItem: MenuItem) = group == menuItem.groupId && id == menuItem.itemId && title == menuItem.title
}